package com.lin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lin.entity.WarningDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
public interface WarningDeviceService extends IService<WarningDevice> {
    Page<WarningDevice> getWarningDevice(Integer page, Integer size, Integer departmentDid, String key);

    Boolean addWarningDevice(WarningDevice warningDevice);

    Boolean updateWarningDevice(WarningDevice warningDevice);

    void removeWarningDevice(Integer id);
}
